package com.i2works.smartluolong.web.service.flow;

import com.i2works.smartluolong.utils.basecommon.BaseCommonService;
import com.i2works.smartluolong.utils.exception.ServiceException;
import com.i2works.smartluolong.web.entity.flow.FlowInfoDO;
import com.i2works.smartluolong.web.entity.flow.FlowInfoQuery;

import java.util.List;

/**
 * @author Liu Yapeng
 * @date 2018-14-110 14:37:02
 */
public interface IFlowInfoService extends BaseCommonService<FlowInfoQuery,FlowInfoDO>{

	/**
	 * 根据item_id和item_name查询更新
	 */
	void updateByItem(FlowInfoDO flowInfoDO) throws ServiceException;

	/**
	 * 获取事项办理监察列表
	 */
	List<FlowInfoDO> queryListByMonitor(FlowInfoQuery query) throws ServiceException;

	/**
	 * 事项办理报表
	 */
	List<FlowInfoDO> queryItemReport(FlowInfoQuery query) throws ServiceException;

}
